package com.bootdo.friendcircle.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.friendcircle.dao.FriendCircleCommentDao;
import com.bootdo.friendcircle.domain.FriendCircleCommentDO;
import com.bootdo.friendcircle.service.FriendCircleCommentService;



@Service
public class FriendCircleCommentServiceImpl implements FriendCircleCommentService {
	@Autowired
	private FriendCircleCommentDao friendCircleCommentDao;
	
	@Override
	public FriendCircleCommentDO get(Integer id){
		return friendCircleCommentDao.get(id);
	}
	
	@Override
	public List<FriendCircleCommentDO> list(Map<String, Object> map){
		return friendCircleCommentDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return friendCircleCommentDao.count(map);
	}
	
	@Override
	public int save(FriendCircleCommentDO friendCircleComment){
		return friendCircleCommentDao.save(friendCircleComment);
	}
	
	@Override
	public int update(FriendCircleCommentDO friendCircleComment){
		return friendCircleCommentDao.update(friendCircleComment);
	}
	
	@Override
	public int remove(Integer id){
		return friendCircleCommentDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return friendCircleCommentDao.batchRemove(ids);
	}
	
}
